package com.jmcba;

import com.jmcba.init.CostLanding;

/**
 * 初始成本
 */
public class CostBoot {
    private static final int prefillEnergyAmount = 35;
    public static int prefillEnergyUnitPrice = 916;

    private CostLanding costLanding;
    private int price;

    public int getPrice() {
        return price;
    }

    public CostBoot(CostLanding costLanding) {
        this.costLanding = costLanding;

        int priceFuel = CostBoot.prefillEnergyUnitPrice * CostBoot.prefillEnergyAmount;
        this.price = this.costLanding.getPrice() + priceFuel;
    }
}
